package boot.spring.po;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.activiti.engine.task.Task;

import java.io.Serializable;

/**
 * <p>
 * 实验室使用申请明细
 * </p>
 *
 * @author 郑树凯
 * @since 2020-07-01
 */

@ApiModel(value = "LabApplyformDetail对象", description = "实验室使用申请明细")
public class Lab implements Serializable {

    @ApiModelProperty(value = "申请单id")

    private Integer id;

    @ApiModelProperty(value = "申请人")
    private String user_id;

    @ApiModelProperty(value = "流程ID")
    private String process_instance_id;

    @ApiModelProperty(value = "instruction_class 授课班")
    private String instruction_class_id;

    @ApiModelProperty(value = "实际使用人数")
    private String number;

    @ApiModelProperty(value = "审批意见")
    private String opinion;

    @ApiModelProperty(value = "创建时间")
    private String create_time;

    public String getTask_id() {
        return task_id;
    }

    public void setTask_id(String task_id) {
        this.task_id = task_id;
    }

    private String task_id;


    Task task;

    public String getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(String update_time) {
        this.update_time = update_time;
    }

    @ApiModelProperty(value = "更新时间")
    private String update_time;

    @ApiModelProperty(value = "本记录是否有效")
    private String deleted;

    public String getDeleted() {
        return deleted;
    }

    public void setDeleted(String deleted) {
        this.deleted = deleted;
    }

    private String last_version;

    public String getLast_version() {
        return last_version;
    }

    public void setLast_version(String last_version) {
        this.last_version = last_version;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUser_id() {
        return user_id;
    }

    public void setUser_id(String user_id) {
        this.user_id = user_id;
    }

    public String getProcess_instance_id() {
        return process_instance_id;
    }

    public void setProcess_instance_id(String process_instance_id) {
        this.process_instance_id = process_instance_id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getOpinion() {
        return opinion;
    }

    public void setOpinion(String opinion) {
        this.opinion = opinion;
    }

    public String getInstruction_class_id() {
        return instruction_class_id;
    }

    public void setInstruction_class_id(String instruction_class_id) {
        this.instruction_class_id = instruction_class_id;
    }

    public String getCreate_time() {
        return create_time;
    }

    public void setCreate_time(String create_time) {
        this.create_time = create_time;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }

    @Override
    public String toString() {
        return "Lab{" +
                "id=" + id +
                ", user_id='" + user_id + '\'' +
                ", process_instance_id='" + process_instance_id + '\'' +
                ", instruction_class_id='" + instruction_class_id + '\'' +
                ", number='" + number + '\'' +
                ", opinion='" + opinion + '\'' +
                ", create_time='" + create_time + '\'' +
                ", task=" + task +
                ", update_time='" + update_time + '\'' +
                ", deleted='" + deleted + '\'' +
                ", last_version='" + last_version + '\'' +
                '}';
    }
}
